package zhang.dao.impl;

import duck_zhang.dao.WorkDao;
import duck_zhang.dao.impl.WorkDaoImpl;
import pojo.Department;
import zhang.dao.DepartDao;
import zhang.dao.FriendDao;
import zhang.dao.MessageDao;
import zhang.dao.MyViewDao;
import zhang.dao.UserDao;
public class DaoFactory {

	public static MessageDao getMessageDaoImpl() {

		return new MessageDaoImpl();
	}

	public static FriendDao getFriendDaoImpl() {
		return new FriendDaoImpl();
	}

	public static UserDao getUserDaoImpl() {

		return new UserDaoImpl();
	}
	public static MyViewDao getMyViewDao()
	{
		return new MyViewDaoImpl();
	}
	public static DepartDao getDepartDaoImpl()
	{
		return new DepartDaoImpl();
	}
	public static WorkDao getWorkDaoImpl(){
		return new WorkDaoImpl();
	}
}
